yaml-cpp.git
4 months ago[PATCH] Specify CMake policy range to avoid deprecation warning
Craig Scott [Wed, 16 Aug 2023 05:55:44 +0000 (15:55 +1000)]
[PATCH] Specify CMake policy range to avoid deprecation warning

CMake 3.27 started issuing a deprecation warning for any
cmake_minimum_required() call that specified a minimum
version older than 3.5. Specifying a version range instead of
a simple minimum version avoids that warning without
raising the minimum supported CMake version. The NEW
policy behavior will be used for all policies introduced up to
CMake 3.14 with this change.

Gbp-Pq: Name 1211.patch

4 months ago[PATCH] Fix testsuite with gcc-13
Gianfranco Costamagna [Sat, 19 Aug 2023 17:47:44 +0000 (19:47 +0200)]
[PATCH] Fix testsuite with gcc-13

cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
/<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
/<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
   11 |   std::string input{-58, -1, -99, 109};
      |                                      ^

Gbp-Pq: Name 1216.patch

4 months ago[PATCH] Update cmakelists to use system googletest if available.
Gianfranco Costamagna [Sat, 14 Oct 2023 07:23:02 +0000 (09:23 +0200)]
[PATCH] Update cmakelists to use system googletest if available.

There is no need to use the embedded gtest code copy in Linux systems, if they already provide the googletest framework system-wide.
Search for it, and fallback to the embedded one if the system one is not detected.

This patch has been also contributed by Simon Quigley <tsimonq2@debian.org>

Gbp-Pq: Name 1035.patch

4 months agoyaml-cpp (0.8.0+dfsg-9) unstable; urgency=medium
Gianfranco Costamagna [Fri, 3 Oct 2025 15:35:05 +0000 (17:35 +0200)]
yaml-cpp (0.8.0+dfsg-9) unstable; urgency=medium

  * Cherry-pick 3 fixes for cmake from upstream
    - 1211.patch
    - 1171.patch
    - 1351.patch

[dgit import unpatched yaml-cpp 0.8.0+dfsg-9]

4 months agoImport yaml-cpp_0.8.0+dfsg-9.debian.tar.xz
Gianfranco Costamagna [Fri, 3 Oct 2025 15:35:05 +0000 (17:35 +0200)]
Import yaml-cpp_0.8.0+dfsg-9.debian.tar.xz

[dgit import tarball yaml-cpp 0.8.0+dfsg-9 yaml-cpp_0.8.0+dfsg-9.debian.tar.xz]

2 years agoImport yaml-cpp_0.8.0+dfsg.orig.tar.xz
Gianfranco Costamagna [Fri, 18 Aug 2023 17:22:16 +0000 (19:22 +0200)]
Import yaml-cpp_0.8.0+dfsg.orig.tar.xz

[dgit import orig yaml-cpp_0.8.0+dfsg.orig.tar.xz]